using MediatR;
using Medical.ErrorCode;
using System.Collections.Generic;
using static Medical.Domain.Enum.DepartmentEnum;

namespace Medical.Api.Write.Application.Command.Wms.WmsOutCommand
{
    /// <summary>
    /// 从存放表选择明细新增出库单命令
    /// </summary>
    public class AddOutFromStoresCommand : IRequest<ApiResult<bool>>
    {
        public int OutWarehouse { get; set; }
        public int OutReason { get; set; }
        public string AuditName { get; set; }
        public int ApplyingUnit { get; set; }
        public List<OutStoreDetailDto> Details { get; set; }
    }

    public class OutStoreDetailDto
    {
        public int StoresId { get; set; } // 存放表Id
        public int OutNum { get; set; } // 出库数量
    }
}